package com.chouxiaozi.battercake;

public class SausageDecorator extends BattercakeDecorator{
    public SausageDecorator(Battercake battercake) {
        super(battercake);
    }

    @Override
    protected int price() {
        return super.price() + 3;
    }

    @Override
    protected String getMsg() {
        return super.getMsg() +"，加1个火腿肠";
    }
}
